package msgs;

/**
 * Msg used when admin wants to ban user
 * Team 9: Andrew Hayworth, Brian Parrella, Ryan Kortmann, Nina Papa
 * @author Andrew Hayworth
 *
 */

public class BanMsg extends AdminMsg implements TTConstants{
	private String uname;

	public BanMsg(String ip, String name, String pwd, byte[] key, String uname) {
		super(ip, name, pwd, key);
		this.uname = uname;
	}

	
	public BanMsg(ConnectedUser c, AdminActions a, String uname) {
		super(c, a);
		this.uname = uname;
	}


	/**
	 * @return the uname
	 */
	public String getUname() {
		return uname;
	}

	/**
	 * @param uname the uname to set
	 */
	public void setUname(String uname) {
		this.uname = uname;
	}
	
	
}
